<h1>Listing appointment_statuses</h1>

<table>
  <thead>
    <tr>
      <th>Label</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Created by</th>
      <th>Updated by</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @appointment_statuses.each do |appointment_status| %>
      <tr>
        <td><%= appointment_status.label %></td>
        <td><%= appointment_status.created_at %></td>
        <td><%= appointment_status.updated_at %></td>
        <td><%= appointment_status.created_by %></td>
        <td><%= appointment_status.updated_by %></td>
        <td><%= link_to 'Show', appointment_status %></td>
        <td><%= link_to 'Edit', edit_appointment_status_path(appointment_status) %></td>
        <td><%= link_to 'Destroy', appointment_status, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Appointment status', new_appointment_status_path %>
